from video import Video
from audio import Channel
from board import Board 
import pygame
from pygame.locals import KEYDOWN

if __name__ == "__main__":
    video = Video()
    canal = Channel()
    teclado = Board()
    while True:                    
            for event in pygame.event.get():
                if event.type == KEYDOWN: 
                    teclado.key_pressed(event.key)
                elif event.type == canal.SILENCE_CHANNEL:
                    pass